Hi, I need to show subsidiary address in invoice p...
# suitescript
t
Hi, I need to show subsidiary address in invoice pdf.. I am using the below line of code in advanced PDF pspan class="address"${record.subsidiary.mainaddress_text}/span/p But getting the below error on pdf ERROR: Field 'subsidiary.mainaddress_text' Not Found I am able to access other fields from subsidiary but not able to access the mainaddress_text.. Can anybody plz help to resolve this?
t
@battk Thanks a lot ...It helps
@battk One more thing in the same way I need to print mainaddress_text from location on invoice record... but not able to access
b
is the location available in the field selector?
t
Location is available as a record field ....not like subsidiary is available
b
then netsuite doesnt make the fields of the location available
you need to add your own field and use sourcing to fill in its value from the location
t
Ok thanks @battk
Hi @battk... I am calculating vat by multiplying taxtotal by exchange rate.. Using the below line ${record.taxtotal * record.exchangerate} but I am getting result in integet number.. but I want in decimal .. waht to do? taxtotal is 630.00 and exchangerate is 0.2344
t
Thanks @battk